Fully Qualified Name: | Laminas\ServiceManager\Initializer\InitializerInterface |
Interface for an initializer
An initializer can be registered to a service locator, and are run after an instance is created to inject additional dependencies through setters
Name | Description | Defined By |
---|---|---|
__invoke() | Initialize the given instance | InitializerInterface |
Initialize the given instance
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$instance | object |
Returns: void